import requests
from bs4 import BeautifulSoup

base_url = 'http://www.baidu.com'
his = ['/s?rtt=1&bsst=1&cl=2&tn=news&ie=utf-8&word=ESG']
url = base_url + his[-1]

page = requests.get(url=url)
page.encoding = page.apparent_encoding
soup = BeautifulSoup(markup=page.text, features='html.parser')

print(soup.find(name='title').get_text())
